package com.qingcheng.config;

import com.aliyun.oss.OSS;
import com.aliyun.oss.OSSClientBuilder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class OssConfig {

    @Bean
    public OSS ossClient() {
        return new OSSClientBuilder().build("http://oss-cn-shenzhen.aliyuncs.com", "LTAI4GHZPKiHB3Gs2cwvCiYp", "OV3XEaQKpcvZt7ymdJA0LxaLrbHhjg");
    }

}
